function selectPoint(){
		 var p = $(".selectMap").val();
		 art.dialog.open(ctx + "/map/baiduMap?point="+p+"&type=0"
					, {
				title:"选择坐标",
				id : 'opernMap',
				width : 760,
				height : 510,
				ok: function(){
 	   				//调用子窗口函数返回坐标
					callDialogFun("opernMap","getPoint");
					var point = art.dialog.data("point");
					var inp = $(".selectMap");
					inp.val(point);
					inp.removeClass("selectMap");
					inp.addClass("lonlat");
					validateMap(inp);//验证
					return false;
 	   			},
 	   			cancelVal: '关闭',
 	   		  	cancel: function(){
	 	   			var inp = $(".selectMap");
					inp.removeClass("selectMap");
					inp.addClass("lonlat");
					validateMap(inp);//验证
 	   		    	return true;
 	   		    } 
			});
	}
function validateMap(mapInput){
		if(!mapInput.val() || mapInput.val() == '0,0'){
			change_error_style(mapInput,"add")
		}else{
			change_error_style(mapInput,"remove")

		};
	}

function selectMap(p){
	 art.dialog.open(ctx + "/map/baiduMapNo?point="+p+"&type=0"
				, {
			title:"显示坐标",
			id : 'opernMap',
			width : 760,
			height : 510,
  			cancelVal: '关闭'
  		});
    }
